<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="/WEB-INF/jsp/common/common.jsp" %>
<!DOCTYPE HTML>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1 user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <meta name="full-screen" content="true" />
    <meta name="screen-orientation" content="portrait" />
    <meta name="x5-fullscreen" content="true" />
    <meta name="360-fullscreen" content="true" />
    <title></title>
    <script src="/seeyon/apps_res/plugin/common/js/vue.min.js"></script>
    <script src="/seeyon/apps_res/plugin/common/js/iview.min.js"></script>
    <script src="/seeyon/apps_res/plugin/common/js/dateFormat.js"></script>
    <link rel="stylesheet" type="text/css" href="/seeyon/apps_res/plugin/xnky/css/index.css?v=2">
    <link rel="stylesheet" href="/seeyon/apps_res/plugin/common/css/iview.min.css">
    <link rel="stylesheet" href="/seeyon/apps_res/plugin/common/css/ionicons.min.css">
</head>

<body>
<div id="app">
    <div class="left">
        <ul class="tabs">
            <li v-for="tab in nav_tabs" @click="changeNavTab(tab.key)" :class="{'active': current_nav_tab == tab.key}">{{tab.text}}</li>
        </ul>
    </div>
    <div class="right">
        <ul class="tabs">
            <li v-for="tab in status_tabs" @click="changeStatusTab(tab.key)" :class="{'active': current_status_tab == tab.key}">{{tab.text}}</li>
        </ul>
        <ul class="search-area">
            <li class="search-item" v-for="item in filters" v-show="item.nav.indexOf(current_nav_tab) != -1 && item.status.indexOf(current_status_tab) != -1">
                <p class="text">{{item.text}}&nbsp;</p>
                <i-input style="width: 120px;" v-model="item.value" v-if="item.type == 'input'"></i-input>
                <i-date-picker style="width: 140px;" v-model="item.value" type="date" v-if="item.type == 'date'"></i-date-picker>
            </li>
            <li class="button-item" v-for="item in buttons" v-show="item.nav.indexOf(current_nav_tab) != -1 && item.status.indexOf(current_status_tab) != -1">
                <i-button type="primary" @click="clickButton(item.key)">{{item.text}}</i-button>
            </li>
        </ul>
        <div class="table">
            <i-table :columns="now_columns" :data="list_data" @on-selection-change="changeRows"></i-table>
        </div>
        <div class="page" style="display: flex; justify-content: right;">
            <i-page :total="page_data.total" :page-size="page_data.limit" show-elevator show-total></i-page>
        </div>
    </div>
</div>
</body>
<script src="/seeyon/apps_res/plugin/xnky/js/index.js?v=3"></script>
</html>